package cn.tedu.medicalpath.prescription.mapper;

import cn.tedu.medicalpath.prescription.pojo.dto.PrescriptionMedicineQuery;
import cn.tedu.medicalpath.prescription.pojo.entity.PrescriptionMedicine;
import cn.tedu.medicalpath.prescription.pojo.vo.PrescriptionMedicineVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PrescriptionMedicineMapper {
    void savePrescriptionMedicine(PrescriptionMedicine prescriptionMedicine);

    List<PrescriptionMedicineVO> selectPrescriptionMedicine(PrescriptionMedicineQuery prescriptionMedicineQuery);

    void deletePrescriptionMedicine(PrescriptionMedicineQuery prescriptionMedicineQuery);

    void updatePrescriptionMedicine(PrescriptionMedicine prescriptionMedicine);
}
